package com.caishi.lkx.exam.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(title = "章节数据")
public class ChapterVo {

    private String id;

    /**
     * 章节名称
     */
    @Schema(title = "章节名称")
    private String name;

    /**
     * 上级章节
     */
    @Schema(title = "上级章节id")
    private Long parentId;

    /**
     * 所属科目id
     */
    @Schema(title = "科目id")
    private Long categoryId;

    /**
     * 排序
     */
    @Schema(title = "排序")
    private Integer sort;

    /**
     * 是否是最后一级章节
     */
    @Schema(title = "是否是最后一级章节")
    private boolean leaf;
}
